package codetop.microsoft.T42;

import util.ListUtil;

/**
 * @Author: 18362
 * @Create: 2022-08-15 20:59:33 星期一
 */
public class H42 {
    public static void main(String[] args) {
        int[] height = ListUtil.parseIntArray("[4,2,0,3,2,5]");
        System.out.println(new Solution().trap(height));
    }
}
